<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
</head>
<body>
<a href="#">ajax</a>
<script src="../static/jquery.min.js" th:src="@{jquery.min.js}"></script>
<script>

    $(function () {
        $("a").click(function () {

            var url = "http://10.204.8.20:81";
            $.get(url, function (res) {
                alert(res);
            });


            return false;
        });

    });

</script>
</body>
</html>